//#pragma once

extern DWORD      soundtype;
extern double     g_fClksPerSpkrSample;
extern UINT     g_nBufferIdx;
extern BYTE*   g_pSpeakerBuffer;

BYTE    SpkrToggle (WORD, WORD, BYTE, BYTE, ULONG);
void    SpkrInitialize ();
void    SpkrUpdate (DWORD);
DWORD   SpkrGetSnapshot(SS_IO_Speaker* pSS);
DWORD   SpkrSetSnapshot(SS_IO_Speaker* pSS);

